﻿using UnityEngine;
using System.Collections;

public class Select_Screen : MonoBehaviour {

    private Rect rect;
    private GUIText messageText;

    // Use this for initialization
    void Start()
    {


    }

    // Update is called once per frame
    void Update()
    {

    }

    void OnGUI()
    {
        rect = new Rect(Screen.width / 2.44f, Screen.height / 1.48f, 220, 80);
        if (GUI.Button(rect, ""))
        {
            Application.LoadLevel(4);
        }

        rect = new Rect(Screen.width / 2.44f - 250, Screen.height / 1.48f, 220, 80);
        if (GUI.Button(rect, ""))
        {
            Application.LoadLevel(3);
        }

        rect = new Rect(Screen.width / 2.44f + 250, Screen.height / 1.48f, 220, 80);
        if (GUI.Button(rect, ""))
        {
            Application.LoadLevel(5);
        }

        rect = new Rect(Screen.width / 2.44f + 500, Screen.height / 1.48f, 220, 80);
        if (GUI.Button(rect, ""))
        {
            Application.LoadLevel(6);
        }

        rect = new Rect(Screen.width / 2.44f - 500, Screen.height / 1.48f, 220, 80);
        if (GUI.Button(rect, "Nintendo Level"))
        {
            Application.LoadLevel(2);
        }

    }

}
